const { merge } = require("webpack-merge")

const config = require("./config/config")
const serve = require("./config/serve")
const build = require("./config/build")

module.exports = function ({ development }) {
    
    return merge(config,development?serve:build)
}